<{include file="news_header.html"}>

</header>
<body class="oneColLiqCtrHdr">
<div id="container">

  <div id="header">
<h1>公告分类列表</h1>
  </div>

  <div id="mainContent">
  	<{if $error <> ''}><div id="error"><span style="color:red">Error:</span> <{$error}></div><{/if}>
  	<{if $success <> ''}><div id="success"><span style="color:blue">Success:</span><{$success}></div><{/if}>

<form id="uploadFrom" method="post" enctype="multipart/form-data" action="entry.php?module=image&action=upload" >
	<input type="hidden" name="MAX_FILE_SIZE" value="2000000" />
	<label>选择需上传的文件： <input name="file" type="file" value="浏览" ></label>&nbsp;&nbsp;&nbsp;&nbsp;
	<label>文件说明: <input type="text" value="" name="desc" maxlength="50" /></label>&nbsp;&nbsp;&nbsp;&nbsp;
	<label>缩放： <select name="size"><option value=''>原图</option>
				<option value='160x120'>160×120</option>
				<option value='530x331'>530×331</option>
				<option value='296x92'>296×92</option>
				<option value='586x300'>160×300</option>
			</select></label>
	<input type="submit" value="上传" name="B1">
</form>


<table width="90%" class="listTable" align="center">
  <tr>
    <td width="10%">图片ID</td>
	<td width="8%">&nbsp;</td>
    <td width="70%">说明/URL</td>
    <td width="6%">查看</td>
    <td width="6%">删除</td>
  </tr>
<{section name=i loop=$xImg}>
	<tr<{if $xImg[i].i%2>0}> class="oddRow"<{/if}>>
		<td height="50" rowspan='2'><{$xImg[i].ID}></td>
		<td>说明: </td>
		<td><{$xImg[i].desc}></td>
		<td rowspan='2'><{$xImg[i].look}></td>
		<td rowspan='2'><{$xImg[i].delete}></td>
	</tr>
	<tr<{if $xImg[i].i%2>0}> class="oddRow"<{/if}>><td>链接: </td><td><{$xImg[i].full_path}></td></tr>
<{/section}>
</table>

<form id="form1" name="form1" method="get" action="entry.php">
<div class="nav">第<{$page}>页,共<{$sum}>页;&nbsp;&nbsp;
	<input type="hidden" name="module" value="image" />
	<input type="hidden" name="action" value="list" />
	跳转至  <input type="text" name="page" id="page"  size="5" value="<{$page+1}>" />
	 <input type="submit" value="跳转" />
  <!-- <a href='javascript:history.go(-1)'>上一步</a> --></div>
</form>

<{include file="news_footer.html"}>